***********************************************************************
****** Replication File for Joo et al. 2024 RW populist Leaders *******
***********************************************************************

Files included in the replication folder: 

Folders
   --- Figures: Folder to save figures
   --- Tables: Folder to save tables 
   --- Figure A1: Folder that includes data and codes required to create India and Japan maps in Figure A1 
	1. IndiaRespondents.csv: India respondent location data
	2. JapanRespondents.csv: Japan respondent location data 
	3. shapefilesIND_adm1.rds: India shapefile 
	4. shapefilesJPN_adm1.rds: Japan shapefile
	5. Figure A1.R: R code to create India and Japan maps for Figure A1

Analysis Data
   --- Survey Analysis
	1. INDIA_SURVEY.dta: India survey data in .dta format
	2. INDIA_SURVEY.csv: India survey data in .csv format
	3. JAPAN_SURVEY.dta: Japan survey data in .dta format
	4. JAPAN_SURVEY.dta: Japan survey data in .csv format
	5. vcov_indfull.csv: Variance-covariance matrix for India full sample logit model
	6. vcov_indiarpart.csv: Variance-covariance matrix for India RW partisan sample logit model
	7. vcov_japanfull.csv: Variance-covariance matrix for Japan full sample logit model
	8. vcov_japanrwpart.csv: Variance-covariance matrix for Japan RW partisan sample logit model
   --- Observational Analysis
	1. FP_data.dta: Observational analysis leader-year data in .dta format
	2. dyadicdata.dta: Observational analysis directed dyad-year data 
	3. region_count.dta: Data to plot Figure 1(b) 
	4. residualdata.dta: Residual data from logit models for autocorrelation test
	5. residual_GEE.dta: Residual data from GEE models for autocorrelation test 
	6. vce_rnrdyadicdum.csv: Variacne-covariance matrix for dyadic model 
	7. vcov_largeN.csv: Variance-covariance matrix for leader-year model

Codes 
	1. Figures 1,5.R: R code to create Figures 1 and 5 
	2. Figurees 3-4,A6.do: Stata code to create Figures 3-4 and A6
	3. Figures A2-A5,A7.R: R code to create Figures A2-A5 and A7
	4. Tables A1-A2.R: R code to create Tables A1-A2
	5. LargeNTables.do: Stata code to create all tables from observational data analyses except for Model A18
	6. ModelA18.R: R code to estimate Model A18. 


